package com.example.govdata.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigInteger;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomDataItem implements Serializable {
    private BigInteger quarter;
    private BigInteger larcenyNum;
    private BigInteger robberyNum;
    private BigInteger injuryNum;

    public CustomDataItem(BigInteger bigInteger) {
        this.quarter = bigInteger;
        this.larcenyNum = new BigInteger("1");
        this.robberyNum = new BigInteger("1");
        this.injuryNum = new BigInteger("1");
    }
}